home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / c / appsource.lha / APlusPlus / GNUC++ / APPLibrary / makefile < prev    next >
Encoding:
Makefile  |  1994-08-29  |  4.1 KB  |  175 lines

  1. #
  2. # GNU Makefile for the A++ Library
  3. # Copyright (C) by Armin Vogt
  4. #
  5. # This makefile has been created automatically with 'makegnu'
  6. # $Id: makegnu,v 1.2 1994/08/02 18:58:47 Armin_Vogt Exp Armin_Vogt 0
  7. #
  8.  
  9. VPATH           =      /apphome/libsource
  10. INCDIR          =      /appinclude
  11. APPHEADER       =      /appinclude/APlusPlus
  12.  
  13. #
  14. # if the Commodore® headers are not present in gcc:os-include
  15. # define their path here..
  16. CHEADERS        =      /include
  17.  
  18.  
  19. CC      =  gcc
  20. CFLAGS  =  -O2
  21. AR      =  ar
  22. RANLIB  =  ranlib
  23.  
  24. LIBRARYFILE =    libaplusplus.a
  25.  
  26. ERRORPIPE   =  pipe:gnu_errors
  27.  
  28.  
  29. OBJS =  \
  30.  APPObject.o\
  31.  AttrList.o\
  32.  AutoDrawArea.o\
  33.  BoopsiGadget.o\
  34.  Canvas.o\
  35.  DrawArea.o\
  36.  FontC.o\
  37.  GadgetCV.o\
  38.  GBorder.o\
  39.  GraphicObject.o\
  40.  GT_Boolean.o\
  41.  GT_Gadget.o\
  42.  GT_Listview.o\
  43.  GT_Scroller.o\
  44.  GT_String.o\
  45.  GWindow.o\
  46.  IntuiMessageC.o\
  47.  IntuiObject.o\
  48.  IntuiRoot.o\
  49.  Intui_TypeInfo.o\
  50.  ITransponder.o\
  51.  List.o\
  52.  LvObject.o\
  53.  MapArray.o\
  54.  MessageC.o\
  55.  ObjectList.o\
  56.  PriorityList.o\
  57.  RawKeyDecoder.o\
  58.  RectObject.o\
  59.  RowColumnGroup.o\
  60.  ScreenC.o\
  61.  SignalResponder.o\
  62.  StdGadget.o\
  63.  TextView.o\
  64.  TimedMsgPort.o\
  65.  TimerC.o\
  66.  TypeInfo.o\
  67.  WindowCV.o\
  68.  
  69.  
  70.  
  71. .SUFFIXES: .o .c .cxx
  72.  
  73. .cxx.o:
  74.     $(CC) -c -I/gcc/include -I$(INCDIR) -I$(CHEADERS) $(CFLAGS) $< >$(ERRORPIPE)
  75.  
  76.  
  77. # The order of include directory declarations in crucial when
  78. # CHEADERS is used. GNU standard headers must have a higher priority
  79. # than the ones in the CHEADERS (usually SAS standard headers!!)
  80.  
  81. all : $(LIBRARYFILE)
  82.  
  83. $(LIBRARYFILE): $(OBJS)
  84.     $(AR) crv $(LIBRARYFILE) $?
  85.     $(RANLIB) $(LIBRARYFILE)
  86.  
  87.  
  88.  
  89. #
  90. # A++ dependencies
  91. #
  92.  
  93. ARexxObject.o: ARexxObject.cxx $(APPHEADER)/comm/ARexxObject.h
  94.  
  95. TimerC.o: TimerC.cxx $(APPHEADER)/devices/TimerC.h
  96.  
  97. APPObject.o: APPObject.cxx $(APPHEADER)/environment/APPObject.h
  98.  
  99. Classes.o: Classes.cxx $(APPHEADER)/environment/Classes.h
  100.  
  101. Dependencies.o: Dependencies.cxx $(APPHEADER)/environment/Dependencies.h
  102.  
  103. MapArray.o: MapArray.cxx $(APPHEADER)/environment/MapArray.h
  104.  
  105. TypeInfo.o: TypeInfo.cxx $(APPHEADER)/environment/TypeInfo.h
  106.  
  107. List.o: List.cxx $(APPHEADER)/exec/List.h
  108.  
  109. LvObject.o: LvObject.cxx $(APPHEADER)/exec/LvObject.h
  110.  
  111. MessageC.o: MessageC.cxx $(APPHEADER)/exec/MessageC.h
  112.  
  113. ObjectList.o: ObjectList.cxx $(APPHEADER)/exec/ObjectList.h
  114.  
  115. PriorityList.o: PriorityList.cxx $(APPHEADER)/exec/PriorityList.h
  116.  
  117. SignalResponder.o: SignalResponder.cxx $(APPHEADER)/exec/SignalResponder.h
  118.  
  119. TimedMsgPort.o: TimedMsgPort.cxx $(APPHEADER)/exec/TimedMsgPort.h
  120.  
  121. GT_Boolean.o: GT_Boolean.cxx $(APPHEADER)/gadtools/GT_Boolean.h
  122.  
  123. GT_Listview.o: GT_Listview.cxx $(APPHEADER)/gadtools/GT_Listview.h
  124.  
  125. GT_Scroller.o: GT_Scroller.cxx $(APPHEADER)/gadtools/GT_Scroller.h
  126.  
  127. GT_String.o: GT_String.cxx $(APPHEADER)/gadtools/GT_String.h
  128.  
  129. AutoDrawArea.o: AutoDrawArea.cxx $(APPHEADER)/graphics/AutoDrawArea.h
  130.  
  131. Canvas.o: Canvas.cxx $(APPHEADER)/graphics/Canvas.h
  132.  
  133. DrawArea.o: DrawArea.cxx $(APPHEADER)/graphics/DrawArea.h
  134.  
  135. FontC.o: FontC.cxx $(APPHEADER)/graphics/FontC.h
  136.  
  137. GBorder.o: GBorder.cxx $(APPHEADER)/graphics/GBorder.h
  138.  
  139. GraphicObject.o: GraphicObject.cxx $(APPHEADER)/graphics/GraphicObject.h
  140.  
  141. RectObject.o: RectObject.cxx $(APPHEADER)/graphics/RectObject.h
  142.  
  143. RowColumnGroup.o: RowColumnGroup.cxx $(APPHEADER)/graphics/RowColumnGroup.h
  144.  
  145. TextView.o: TextView.cxx $(APPHEADER)/graphics/TextView.h
  146.  
  147. BoopsiGadget.o: BoopsiGadget.cxx $(APPHEADER)/intuition/BoopsiGadget.h
  148.  
  149. GadgetCV.o: GadgetCV.cxx $(APPHEADER)/intuition/GadgetCV.h
  150.  
  151. GT_Gadget.o: GT_Gadget.cxx $(APPHEADER)/intuition/GT_Gadget.h
  152.  
  153. GWindow.o: GWindow.cxx $(APPHEADER)/intuition/GWindow.h
  154.  
  155. IntuiMessageC.o: IntuiMessageC.cxx $(APPHEADER)/intuition/IntuiMessageC.h
  156.  
  157. IntuiObject.o: IntuiObject.cxx $(APPHEADER)/intuition/IntuiObject.h
  158.  
  159. IntuiRoot.o: IntuiRoot.cxx $(APPHEADER)/intuition/IntuiRoot.h
  160.  
  161. Intui_TypeInfo.o: Intui_TypeInfo.cxx $(APPHEADER)/intuition/Intui_TypeInfo.h
  162.  
  163. ITransponder.o: ITransponder.cxx $(APPHEADER)/intuition/ITransponder.h
  164.  
  165. RawKeyDecoder.o: RawKeyDecoder.cxx $(APPHEADER)/intuition/RawKeyDecoder.h
  166.  
  167. ScreenC.o: ScreenC.cxx $(APPHEADER)/intuition/ScreenC.h
  168.  
  169. StdGadget.o: StdGadget.cxx $(APPHEADER)/intuition/StdGadget.h
  170.  
  171. WindowCV.o: WindowCV.cxx $(APPHEADER)/intuition/WindowCV.h
  172.  
  173. AttrList.o: AttrList.cxx $(APPHEADER)/utility/AttrList.h
  174.  
  175.